﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZJF.DelegateTest._01_引入委托
{
    public class BB
    {
        public AA Aa { get; set; }

        public BB(AA a) {
            Aa = a;
        }

        public void bb() {
            Aa.aa();
            Console.WriteLine("我是BB类的bb方法");
        }
    }
}
